<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<title>Администрирование сайта {echo $_SERVER["HTTP_HOST"]}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
	<link rel="stylesheet" type="text/css" href="style.css">
	<link rel="icon" href="/admin/favicon.ico" type="image/x-icon">
	<script type="text/javascript" src="script.js"></script>
	<script type="text/javascript" src="mootools.js"></script>
	<script type="text/javascript" src="nested.js"></script>
</head>
<body>
<script>
preparedHref='{echo LinkBuilder('',true)}';
</script>
<div id="container" class="blue">

<div id="left_column">
	<div id="logo">
		<div id="selector_green"></div>
		<div id="selector_blue"></div>
		<div id="selector_orange"></div>
	</div>
	{for source=admin_menu}
		<div id="menugroup">
		<h1><*item_0*></h1>
		<ul>
		{for source=item_1}
			<li {if $item_0==AdminLinkBase()}class="active"{/if}><a href="<*item_0*>"><*item_1*></a></li>
		{/for}
		</ul>
		<div id="shadow"></div>
		</div>
	{/for}		
</div>

<div id="right_column">
	<div id="top">
		<div id="adminmenu">
		</div>
		<div id="rightmenu">
			<a href="pages.php?adminaction=logout"><div id="exit">Выход</div></a>
		</div>
	<div id="noscript">
	<img src="images/warning.gif" align="left">
	Вы работаете с выключенным Java Script. <br />
	Большинство функции системы сейчас недоступны.
	</div>
	</div>
	<script>
	document.getElementById('noscript').style.display='none';
	</script>
	<div id="formdiv" {if $_REQUEST["formaction"]!="edit" && $list!="" && $GLOBALS["validation"]!="failed"}style="display:none;"{/if}>
	<*form*>
	<br>
	</div>
	
	{if $_REQUEST["formaction"]!="edit"}
	<div id="listdiv" {if $GLOBALS["validation"]=="failed"}style="display:none;"{/if}><*list*></div>
	{/if}
	
	

	
<br>
<br>
<br>
<br>
<br>


	
</div>	

</div>	
</body>
